<?php
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Book Voice</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">
	
	<link href="css/bootstrap.min.css" rel="stylesheet">
	<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
	<link href="css/style.css" rel="stylesheet">
        
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/apple-touch-icon-144-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72-precomposed.png">
  <link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-57-precomposed.png">
  <link rel="shortcut icon" href="img/favicon.png">
  
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
</head>

<body>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
        <br><br>
			<div class="hero-unit">
				<h1>
					Book Voice
				</h1>
				<p>
					Bienvenido Estimado Alumno, Para comenzar la transcripcion debe seguir los siguientes pasos:
                    <ul>
                   <form action="TranscripcionCliente.php" method="post">
                        <select name="comboAsignatura">
                            <?php
                            //EXACTAMENTE LO MISMO QUE EN EL SERVIDOR!!!
                    $dns = "hola";
                    $user = "prueba";
                    $password="123";
                    
                    $cid = odbc_connect($dns, $user, $password);
                    $consultaSql = "select * from Asignatura";
                    $res = odbc_exec($cid, $consultaSql);
                    
                    while(odbc_fetch_row($res)){
                        
                        $asignatura = odbc_result($res,'nombre');
                        $id_asig = odbc_result($res,'id');
                        echo '<option value="',$id_asig,'">', $asignatura,'</option>';
                    }
                    ?>
                        </select>
                    </ul>
                                <p>
                                    
                                </p>
				<p>
                                
                   <input type="submit" class="btn btn-primary btn-large" value="Transcripcion »">
                   </p>
                    </form>
                                
				
			</div>
		</div>
	</div>
</div>
</body>
</html>

